//
//  TranslateLeftCell.h
//  语音翻译合成Demo
//
//  Created by 王鹏宇 on 2018/2/26.
//  Copyright © 2018年 王鹏宇. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TranslationModel.h"
@protocol TranslateCellDelegate <NSObject>

- (void)playTheSpeech:(NSString *)str Translation:(NSString *)translationType;

@end

@interface TranslateLeftCell : UITableViewCell


@property (weak, nonatomic) IBOutlet UIButton *languageBtn;

@property (weak, nonatomic) IBOutlet UILabel *languageLabel;

@property (weak, nonatomic) IBOutlet UILabel *translationLabel;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *languageLabelHeight;

@property (nonatomic, strong)TranslationModel * model;
@property (nonatomic, weak)id<TranslateCellDelegate>delegate;

- (void)configData:(TranslationModel *)model;

@end
